from rest_framework import serializers
from django.contrib.auth.models import Permission

#1, permission 序列化器
class PermissionSerializers(serializers.ModelSerializer):
    class Meta:
        model = Permission
        fields = "__all__"